﻿<Window x:Name="_this" x:Class="z.v.Main"
		  xmlns:v_sub="clr-namespace:z.v.sub"
		  xmlns:v="clr-namespace:z.v"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Main" Height="600" Width="800" Loaded="_this_Loaded" WindowStartupLocation="CenterScreen" WindowState="Maximized" Closed="_this_Closed">
	<Window.ContextMenu>
		<ContextMenu>
			<MenuItem x:Name="miTemp" Header="Open Temp Foder" Click="miTemp_Click"/>
			<ComboBox x:Name="cbxGBUser" SelectionChanged="cbxGBUser_SelectionChanged"/>
			<MenuItem x:Name="miSetting" Header="Setting" Click="miSetting_Click"/>
			<MenuItem x:Name="miReport" Header="Report" Click="miReport_Click"/>
		</ContextMenu>
	</Window.ContextMenu>
	<Grid>
		<TabControl x:Name="mainTabs" SelectionChanged="mainTabs_SelectionChanged">
			<TabItem Header="Sửa">
				<v:OrderFix/>
			</TabItem>
			<TabItem Header="Bán">
				<v:OrderSale/>
			</TabItem>
			<TabItem Header="Mua">
				<v:OrderBuy/>
			</TabItem>
			<TabItem Header="Chi">
				<v:OrderEx/>
			</TabItem>
			<TabItem Header="Khách">
				<v:Customer/>
			</TabItem>
			<TabItem Header="Máy">
				<v:Product/>
			</TabItem>
			<TabItem Header="Nhân Viên">
				<v:Employee/>
			</TabItem>
			<TabItem Header="NCC">
				<v:Producter/>
			</TabItem>
			<TabItem Header="Hiệu">
				<v:Brand/>
			</TabItem>
			<TabItem Header="Loại">
				<v:Kind/>
			</TabItem>
		</TabControl>
	</Grid>
</Window>
